package com.ychen.commons.entity.goods;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.List;

/**
 * 商品的评论表
 */
@Data
public class CommentEntity {
    @Id
    private Long commentId;
    private Long GoodsId;
    private Long commenterId;
    /**
     * 使用 userName
     */
    private Long commenterName;
    /**
     * 评论内容
     */
    private String commentContext;

    /**
     * 评论的图片URL
     */
    private List<String> commentImageUrls;

    /**
     * 评论内的评论
     */
    private List<ChildrenComment> childrenComments;

}
